import request from "@/utils/request";
// 调用权限
export default {
  getLogin(data) {
    return request({
      url: "/api/accounts/settings/login/",
      method: "get",
      params: data
    });
  },
  settingsLogin(data) {
    return request({
      url: "/api/accounts/settings/login/",
      method: "put",
      data: data
    });
  },
  getSiteInfo(data) {
    return request({
      url: "/api/accounts/settings/site/",
      method: "get",
      params: data
    });
  },
  settingsSite(data) {
    return request({
      url: "/api/accounts/settings/site/",
      method: "put",
      data: data
    });
  },
  getInterfaceInfo(data) {
    return request({
      url: "/api/accounts/settings/interface/",
      method: "get",
      params: data
    });
  },
  settingsInterface(data) {
    return request({
      url: "/api/accounts/settings/interface/",
      method: "put",
      data: data
    });
  },
  getMedicallySettings(data) {
    return request({
      url: "/api/accounts/settings/yiliao/",
      method: "get",
      params: data
    });
  },
  settingsMedicallySettings(data) {
    return request({
      url: "/api/accounts/settings/yiliao/",
      method: "put",
      data: data
    });
  },
  getMemberSettings(data) {
    return request({
      url: "/api/accounts/settings/yidong/",
      method: "get",
      params: data
    });
  },
  settingsMemberSettings(data) {
    return request({
      url: "/api/accounts/settings/yidong/",
      method: "put",
      data: data
    });
  }
};
